<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"

      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      >
    <h:body>

        <ui:composition template="/WEB-INF/templates/commonLayout.xhtml">

            <ui:define name="content">
                <h:form> 
                    <p:panel id="panel" header="Fibonacci Sequence">  
                        <p:messages id="msgs"/>  
                        <br/>
                         <h:outputLabel for="fibbInput" value="Index: " style="font-weight:bold"/>  

                        <p:inputText id="fibbInput" value="#{factoryService.problem.value}" required="true">
                            <f:convertNumber integerOnly="true" type="number"/>
<!--                            <f:validateLongRange maximum="83"/>-->
                        </p:inputText>
                        <!--<p:message for="fibbInput" display="icon"/>--> 
                        <div>
                        <p:commandButton styleClass="runSchedulerBT" value="Run Scheduler" action="#{fileUploadBackingBean.runScheduler}" update="panel"/>
                        </div>
                    </p:panel>
                </h:form>   
            </ui:define>
        </ui:composition>

    </h:body>

</html>